package com.example.novelsys.service;


import com.example.novelsys.dao.CharptDao;
import com.example.novelsys.entity.Charpt;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CharptService {
      @Autowired
	  CharptDao charptDao;

	//根据novelId查询 小说的sort章节
	public Charpt queryCharpt(Integer novelId, Integer sort){
		return  charptDao.queryCharpt(novelId,sort);
	}

}
